package com.ruoyan.service;

import com.ruoyan.pojo.Department;
import com.ruoyan.pojo.Employee;

import java.util.Collection;
import java.util.List;
import java.util.Map;
import java.util.zip.Deflater;

/**
 * @Package: com.ruoyan.service
 * @ClassName: DepartmentService
 * @Author: ruoyan1998
 * @CreateTime: 2021/5/16 16:42
 * @Description:
 */
public interface DepartmentService
{

    List<Department> queryDepartment();

    Department queryDepartmentById(int id);

    Department queryDepartmentByIdFindDid(int id);

    int addDepartment(Department department);

    int updateDepartment(Department department);

    int updateChargeManToNull(Map<String, Object> map);

    int deleteDepartment(int id);
}
